﻿using System;
using System.Collections.Generic;

using Moe.ECamel.Common.Contracts;
using Moe.ECamel.Common.Entities;

namespace Moe.ECamel.Client.ServiceProxies
{
	/// <summary>
	/// Service Agent for Customers services.
	/// </summary>
	public class CustomerServiceProxy : ECamelServiceProxy<ICustomerService>, ICustomerService
	{
		public List<Customer> GetCustomersByLibrary(int libraryId)
		{
			return ServiceProxy.GetCustomersByLibrary(libraryId);
		}
		public Customer GetCustomerById(int customerId)
		{
			return ServiceProxy.GetCustomerById(customerId);
		}
		public ECamelError CreateCustomer(Customer customer)
		{
			return ServiceProxy.CreateCustomer(customer);
		}
		public ECamelError UpdateCustomer(Customer customer)
		{
			return ServiceProxy.UpdateCustomer(customer);
		}
	}
}